import json
dic = {"name":"zs"}
res = json.dump(dic)
print(res,type(res))
ret = json.loads(res)
print(ret,type(ret))